package com.itheima.jiekou;

public class Final2 extends Final1 {
    //创建的时候初始化期值
    final int final1 = 100;
    final int final2;
    int final3;

    public void method() {
    }

    public Final2() {
        //构造方法中赋值
       this.final2=22;
    }

    public Final2(int final2) {
        //构造方法中赋值
        this.final2 = final2;
    }
}
